// Table Grid 定义
Ext.define('db.WelcomeGrid', {
	extend: 'Ext.grid.Panel',
	alias: 'widget.welcomeGrid',
	columns: [
        { text: '名称',  dataIndex: 'name',menuDisabled : true },
        { text: '值', dataIndex: 'value',menuDisabled : true }
    ],
    store: Ext.create('Ext.data.Store', {
        fields:['name', 'value'],
        autoLoad: true,
        //pageSize: this.pageSize,
        proxy: {
            type: 'ajax',
            api: {
                read: "./initAction/welcome.do"
            },
            reader:{
	            type:'json',
	            root:"objectList",
	            totalProperty:"rowCount"
	        }
        }
    }),
	initComponent: function() {
		this.callParent(arguments);
	}
});
